<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>打开 - 时间胶囊 - TimePill.net</title>
    <link rel="stylesheet" type="text/css" href="../styles/style.css">
</head>

<body>
    <div class="header">
        <div class="container">
            <a class="logo" href="index.html">时间胶囊</a>
            <ul class="nav">
                <li><a href="index.html">首页</a></li>
                <li><a href="put.html">添加</a></li>
                <li class="active"><a href="open.html">打开</a></li>
            </ul>
        </div>
    </div>
    <div class="container">
        <h1 class="page-header">打开胶囊</h1>
        <div class="main">
            <form method="post" style="margin-bottom: 30px;">
                <label>胶囊Key：<input name="key" class="key" type="text">
                    <input type="button" onclick="openPill()" value="打开胶囊"></label>
            </form>
            <div class="tips tips-highlight">没有这个胶囊Key</div>
            <div class="pill" style="display: none;">
                <h2></h2>
                <br>
                <span style="padding: 0;"></span>
                <div class="content">
                    <span id="tip" style="padding: 0;"></span>
                    <pre></pre>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
<script src="../js/open.js"></script>
</html>